package com.info.search;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

import org.jsoup.Jsoup;

public class Course {

	static void doo() throws FileNotFoundException, IOException
	{
		String s="http://218.195.32.11/(lt0wzs55y42iw124ayvqeq55)/xscjcx.aspx?xh=1205500121&xm=%B6%CE%B4%BA%D1%E0&gnmkdm=N121605";
		String p=StreamUtils.Stream2String(new FileInputStream("D://xiazai//xx.txt"))+"&ddlXN=2014-2015&ddlXQ=1";
		String resp=Http.post(s,p);
		resp=Jsoup.parse(resp).select("table.datelist").attr("border","1").toString();
		
				
		System.out.println(resp);
		
	}
	public static void main(String args[])
	{
		try {
			doo();
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
